package com.ntschy.common.core.entity.dataobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ntschy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 部门表 sys_dept
 *
 * @author ezreal_geng
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("SYS_DEPT")
@ApiModel(description = "部门实体类")
public class SysDept extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "部门ID")
    @TableId
    private String id;

    @ApiModelProperty(value = "部门名称")
    @TableField(value = "Name")
    private String name;


}
